package principle.singleton;

/**
 * @author malguy-wang sir
 * @create ---
 */
public class s {
    private s(){}
    private static final s Instance = new s();
    public s GetInstance(){
        return Instance;
    }
}
class s1 {
    private s1(){}
    private static final s1 Instance;
    static{
        Instance = new s1();
    }
    public s1 GetInstance(){
        return Instance;
    }
}